package com.tdk.wifidirectserver.bean

/**
 * @Des:
 * @Author: hang.zhao
 * @Date: 2023/2/28
 */
class MessageBean {
    var data: String? = null
    var type = 0

    constructor()
    constructor(data: String?, type: Int) {
        this.data = data
        this.type = type
    }

    override fun toString(): String {
        return "SocketMessage{" +
                "data='" + data + '\'' +
                ", type=" + type +
                '}'
    }

    companion object {
        var MESSAGE_SEND = 0
        var MESSAGE_RECEIVE = 1
    }
}